package com.jindy.module.statement.mapper;

import java.util.List;
import com.jindy.module.statement.domain.DeductibleExpenses;

/**
 * 项目应扣费用Mapper接口
 *
 * @author ruoyi
 * @date 2022-10-27
 */
public interface DeductibleExpensesMapper
{
    /**
     * 查询项目应扣费用
     *
     * @param id 项目应扣费用主键
     * @return 项目应扣费用
     */
    public DeductibleExpenses selectDeductibleExpensesById(Long id);

    /**
     * 查询项目应扣费用列表
     *
     * @param deductibleExpenses 项目应扣费用
     * @return 项目应扣费用集合
     */
    public List<DeductibleExpenses> selectDeductibleExpensesList(DeductibleExpenses deductibleExpenses);

    /**
     * 新增项目应扣费用
     *
     * @param deductibleExpenses 项目应扣费用
     * @return 结果
     */
    public int insertDeductibleExpenses(DeductibleExpenses deductibleExpenses);
    public int insertDeductibleExpensess(List<DeductibleExpenses> deductibleExpensess);

    /**
     * 修改项目应扣费用
     *
     * @param deductibleExpenses 项目应扣费用
     * @return 结果
     */
    public int updateDeductibleExpenses(DeductibleExpenses deductibleExpenses);

    /**
     * 删除项目应扣费用
     *
     * @param id 项目应扣费用主键
     * @return 结果
     */
    public int deleteDeductibleExpensesById(Long id);
    public int deleteDeductibleExpensesByOrderId(Long orderId);

    /**
     * 批量删除项目应扣费用
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDeductibleExpensesByIds(Long[] ids);
}
